package org.linlinjava.litemall.db.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_groupon")
public class Groupon extends BaseModel{

    @TableField("order_id")
    private Long orderId;

    @TableField("groupon_id")
    private Long grouponId;

    @TableField("rules_id")
    private Long rulesId;

    @TableField("user_id")
    private Long userId;

    @TableField("share_url")
    private String shareUrl;

    @TableField("creator_user_id")
    private Long creatorUserId;

    @TableField("creator_user_time")
    private LocalDateTime creatorUserTime;

    @TableField("status")
    private Short status;

}